﻿@model CoralNode.MvcClient.Models.ShareModel

@{
    Layout = null;
}

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
</head>
<body>
    正在加载...
    @switch (Model.To)
    {
        case "tsina":
        <script>window.location.href = 'http://v.t.sina.com.cn/share/share.php?url=@(Model.Url)&title=@(Model.Title)&appkey=@(Model.Key)&pic=@(Model.Pic)&searchPic=@(Model.SearchPic)';</script>
            break;
        case "qzone":
        <script>window.location.href = 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=@(Model.Url)&title=@(Model.Title)&desc=@(Model.Desc)&summary=&site=&pics=@(Model.Pic)';</script>
            break;
        case "tieba":
        <script>window.location.href = 'http://tieba.baidu.com/f/commit/share/openShareApi?title=@(Model.Title)&desc=&comment=&pic=&url=@(Model.Url)'</script>
            break;
    }
</body>
</html>
